// AFTER-WARNING: Parameter 'r' is never used
// AFTER-WARNING: Parameter 't' is never used
// AFTER-WARNING: Parameter 'v' is never used

fun test() {
    bar<Array<out String>, Int, <caret>Array<out String>>(foo(""), 0, foo(""))
}

fun foo(vararg x: String) = x

fun <T, R, V> bar(t: T, r: R, v: V) {}

// WITH_STDLIB